home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
DEMON
/
GRAPHICS
/
RISCPC
/
RANDJPEG.ARC
/
!Help
next >
Wrap
Text File
|
1996-01-21
|
6KB
|
303 lines
oo .o
88 88[
88 Y8`
88
]8[d8 o888, 88o88, o8888 88 ]8bd8b o88o od88o
]8888 88888[ 888Y88 d88888 88 ]88888[ d8P88[ d88888
]88 ]8P ]8[ 88 88 88` 88 88 ]8P ]88 88 d8[ ]8P ]8[
]8[ 88` ]8[ 88 88 ]8P 88 88 ]8[ 88 ]8888P 88` ]8[
]8[ 88,.88[ 88 88 ]8b d88 88 ]8[ d8[ ]8P"` 88, d8[
]8[ Y88888b, 88 88o, 888888o 88 888888` 88oo8 ]88888[
d8[ Y8P'Y8`.88 '88` '88`Y8P]88 88"8P` 'Y88" Y88Y8[
]8[ 88 ]8[
d8[ 88 o .88`
888P 88 8888"
""` "" '""
A FreeWare program to convert JPEGs to RISC O S sprites
Requires RISC O S 3.60 or later
By Cy Booker <cy@cheepnis.demon.co.uk>
Version 1.00 21-Jan-1996
=============================================================== randjpeg ====
[1] Synopsis . . . . . . . . . . . . . . . . . . . . . 1
[1.1] License . . . . . . . . . . . . . . . . . . . . . . 1
[1.2] Requirements . . . . . . . . . . . . . . . . . . . 1
[2] How to use . . . . . . . . . . . . . . . . . . . . 2
[2.1] Command line parameters . . . . . . . . . . . . . . 2
[3] History . . . . . . . . . . . . . . . . . . . . . . 3
[4] Future improvements . . . . . . . . . . . . . . . . 3
[5] Author . . . . . . . . . . . . . . . . . . . . . . 3
=============================================================== randjpeg ====
[1] Synopsis
randjpeg serves one purpose. Given:
a directory containing many JPEG's
produce a 256 colour RISC O S sprite of
one of the JPEG's
and cycle through all the JPEG's without
reptition
Thus it makes a good `random backdrop generator'
[1.1] License
This software comes with NO WARANTEE. It is distributed in
the hope that it's useful. The author will not be liable
for any incurred damages, directly or indirectly due to the
use or inability to use this software.
It is FreeWare, and remains the copyright of the author.
The code to match a colour to the default wimp palette is
based on a UseNet article:
Message-ID: <12463@acorn.co.uk>
Date: 30 Jan 92 12:20:23 GMT
From: RWilson@acorn.co.uk
Subject: How to find the closest colour out of
the RISC OS 256
[1.2] Requirements
This software requires the SpriteExtension module supplied
with RISC O S 3.6.
It does not use ChangeFSI --- it has its' own quantisation
code.
Everything is RAM based, and it generates an intermediate
32-bit sprite, so be careful out there.
Page 1
=============================================================== randjpeg ====
[2] How to use
Copy the contents of the archive onto a writable media (it
generates a history file). Then edit the supplied !Run
file so that it points to a directory containing some
JPEG's.
Double-click the !Run file.
[2.1] Command line parameters
The syntax is:
randjpeg <directory> <history> <sprite>
all parameters are necessary.
<directory>
This directory is scanned recursively for JPEG
files each time the program is run. Thus it is
safe to delete/create new sub-directories / JPEG's
inbetween runs of the program
<history>
randjpeg creates this text file. It is a simple
database of all the JPEG files processed so far,
with one file name per line
<sprite>
This is the name of the sprite file that will be
generated. The file will consist of a single
256 colour sprite, no palette, with the sprite
named after the (leaf) name of the input JPEG
Page 2
=============================================================== randjpeg ====
[3] History
Version 1.00 21-Jan-1996
First release
[4] Future improvements
o Converts GIF's [either internally or via ChangeFSI]
o Converts Sprites
o Allow for multiple directories
Well, these might get done, but seeing as I'll get the
usual feedback from users of my stuff (e^(i.pi)+1), not
likely to be done soon.
[5] Author
Program and documentation by:
Cy Booker
86 Church View
Main Road
Crockenhill
Swanley
Kent
BR8 8JW
U.K.
Internet: cy@cheepnis.demon.co.uk
Arcade BBS (Fidonet#2:254/27.0): Cy Booker
Musical entertainment provided by Frank Zappa